<template>
  <div>
 
    <div class="container">

        <div class="item12">

            <div class="item1">
                 <mymenu></mymenu>

            </div>
            <div class="item2">
                <div> 头像：<van-image 
                        round
                        width="5rem"
                        height="5rem"
                        :src="user_info.avtar"
                      /> </div>
                <div>邮箱：{{user_info.email}}</div>
            </div>
                    

        </div>

    </div>

  </div>
</template>

<script>
// 导入子组件

import mymenu from '../components/menu.vue'

export default {
    
 data() {
    return {
        uid:this.$route.query.uid,
        user_info:{},
    }

  },
  
  components:{
    mymenu
  },
  methods:{
    get_user(){
        this.myaxios(this.baseURL + 'atuser/','get',{uid:this.uid}).then(resp=>{
        console.log('获取@用户信息',resp)
        if(resp.errcode==0){
          this.user_info = resp.data
        }
      })
    }


  },
  mounted(){
    
  },
  created(){
    this.get_user()



  }

}
</script>


<style scoped>
@import url('../assets/style.css');
.www{
  width: 20%;

}

</style>

